home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / tinterp.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  2.4 KB  |  51 lines

  1. .TH TINTERP
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. TINTERP
  5.  
  6.  
  7.  
  8.  TrivarType TINTERP( TrivarType TV );
  9.  
  10. Given a trivariate data structure, computes a new trivariate in the
  11. same function space (i.e. same knot sequences and orders) that interpolates
  12. the given triavriate, TV, at the node parameter values.
  13.  
  14. Example:
  15.  
  16.      tv = tbspline( 3, 3, 2,
  17.                     list( list( list( ctlpt( E3, 0.1, 0.1, 0.0 ),
  18.                                       ctlpt( E3, 0.2, 0.5, 1.1 ),
  19.                                       ctlpt( E3, 0.3, 0.1, 2.2 ) ),
  20.                                 list( ctlpt( E3, 0.4, 1.3, 0.5 ),
  21.                                       ctlpt( E3, 0.5, 1.7, 1.7 ),
  22.                                       ctlpt( E3, 0.6, 1.3, 2.9 ) ),
  23.                                 list( ctlpt( E3, 0.7, 2.4, 0.5 ),
  24.                                       ctlpt( E3, 0.8, 2.6, 1.4 ),
  25.                                       ctlpt( E3, 0.9, 2.8, 2.3 ) ) ),
  26.                           list( list( ctlpt( E3, 1.1, 0.1, 0.5 ),
  27.                                       ctlpt( E3, 1.3, 0.2, 1.7 ),
  28.                                       ctlpt( E3, 1.5, 0.3, 2.9 ) ),
  29.                                 list( ctlpt( E3, 1.7, 1.2, 0.0 ),
  30.                                       ctlpt( E3, 1.9, 1.4, 1.2 ),
  31.                                       ctlpt( E3, 1.2, 1.6, 2.4 ) ),
  32.                                 list( ctlpt( E3, 1.4, 2.3, 0.9 ),
  33.                                       ctlpt( E3, 1.6, 2.5, 1.7 ),
  34.                                       ctlpt( E3, 1.8, 2.7, 2.5 ) ) ),
  35.                           list( list( ctlpt( E3, 2.8, 0.1, 0.4 ),
  36.                                       ctlpt( E3, 2.6, 0.7, 1.3 ),
  37.                                       ctlpt( E3, 2.4, 0.2, 2.2 ) ),
  38.                                 list( ctlpt( E3, 2.2, 1.1, 0.4 ),
  39.                                       ctlpt( E3, 2.9, 1.2, 1.5 ),
  40.                                       ctlpt( E3, 2.7, 1.3, 2.6 ) ),
  41.                                 list( ctlpt( E3, 2.5, 2.9, 0.7 ),
  42.                                       ctlpt( E3, 2.3, 2.8, 1.7 ),
  43.                                       ctlpt( E3, 2.1, 2.7, 2.7 ) ) ) ),
  44.                     list( list( KV_OPEN ),
  45.                           list( KV_OPEN ),
  46.                           list( KV_OPEN ) ) );
  47.     tvi = TINTERP( tv );
  48.  
  49. creates a quadratic by quaratic by linear trivairatiate tvi that
  50. interpolates the control points of tv at the node parameter values.
  51.